// SilenceSdb.h: interface for the CSilenceSdb class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SILENCESDB_H__B4673DB2_FED9_49A8_9788_314DABDA5663__INCLUDED_)
#define AFX_SILENCESDB_H__B4673DB2_FED9_49A8_9788_314DABDA5663__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "sdb.h"

class CSilenceMessage
{
public:
	CSilenceMessage& operator <<(const char * const pszMessage)
	{
		if (NULL != pszMessage)
			m_ssDescription << pszMessage;
		return (*this);
	}
	const char * const GetDescription()
	{
		return (m_ssDescription.str().c_str());
	}

private:
	std::stringstream m_ssDescription;
};

class CSilenceSdb: public CSdb<CSilenceMessage>
{
public:
	CSilenceSdb();
	virtual ~CSilenceSdb();

};

#endif // !defined(AFX_SILENCESDB_H__B4673DB2_FED9_49A8_9788_314DABDA5663__INCLUDED_)
